/* Formatierung WARZ GmbH - Startseite
    Autor: Ruth Zwiker
    Datum: 1. Februar 2025 */

/*----------------------------*/
/*   generelle Einstellungen  */
/*----------------------------*/
* {
    font-family: Arial, sans-serif;
    background-color: #FAF0E1; /* Hingergrund im hellen Grau */
    margin: 1px 1px 1px 1px; /* Rand oben, rechts, links, unten */
    padding: 1px 1px 1px 1px; /* Umrandung generell eingeschränkt */
    border: 1px solid #FAF0E1;
}
@media (max-width: 48em) {

}

/*----------------------------*/
/*       Kopf - Bereich       */
/*----------------------------*/
header {
    text-align: left;

}
/* Grundsätzliche Navigation */
nav {
    background-color: #FAF0E1;
    text-decoration: none;
    color: #156082;
    display: flex;
    align-items: center;
    margin-left: 20px;
    line-height: 100%; /* Zeilenhöhe für das gesamte Dokument*/
    padding: 0px; /*keinen Abstand zwischen den Elementen */
}
/* WARZ Logo links anzeigen */
    nav .logo {
        width: 150px;
        height: 50px;
        vertical-align: middle;
        margin-left:-30px;
    }

 /* Anzeige der Navigationsleiste mit den WARZ Farben */
    nav ul {
        list-style-type: none;
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
    }

    nav li {
        display: inline;
        position: relative;
    }

    nav a {
        color: #156082;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
    }

        nav a:hover {
            color: #FAF0E1;
            background-color: #156082;
        }

/* dropdown Menü für die Leistungen */

.dropdown-toggle {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

    .dropdown-menu li {
        top: 1px;
        margin-bottom: 1px;
        background-color: #FAF0E1;
        color: #156082;
        font-weight: normal;
    }

.dropdown:hover .dropdown-menu {
    display: inline-block;
}



/* grosses WARZ Bild für die erste und letzte Seite*/
.warz_bild {
    /* Style ist in HTML programmiert */
    margin: 0 0 0 0;
    list-style-type: none;
}


/*----------------------------*/
/*       Fuss - Bereich       */
/*----------------------------*/
footer {
    color: #156082;
    font-size: 8px;
    /* margin-top: 50px; Abstand nach oben */
}
/*----------------------------*/
/*           Inhalt           */
/*----------------------------*/

/* Pyramide Formatierung, wird für alle Grafiken die links angezeigt
    werden und rechts Text aufweisen verwendet.*/

.container {
    display: flex;
    align-items: center;
    margin: 0;
}

.pyramide {
    display: inline-block;
    margin: 0;
    margin-right: 20px;
}

.fragen {
    display: inline-block;
    width: 50% ;
    color: black;
    font-size: 14px;
}

.titel {
    vertical-align: top;
    color: #156082;
    font-size: 18px;
    /* margin-bottom: 25px;  Abstand nach unten */
}

/* default-Einstellungen für Texte */
.text {
    color: black;
    font-size: 14px;
    vertical-align: top; /* linksbündig */
    margin-bottom: 15px; /* Abstand nach unten */
}
p {
    color: black;
    font-size: 14px;
    vertical-align: top; /* linksbündig */
    margin-bottom: 15px; /* Abstand nach unten */
}

.aufzaehlung { /* Benutzt vom überuns*/
    list-style-type: square;
    margin-left: 20px;
    color: black;
    font-size: 14px;
    vertical-align: top; /* linksbündig */
}



/* Kontaktformular-Stil */
/* Rahmen */
#kontaktformular {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #FAF0E1;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}
/* Feldbezeichnung */
    #kontaktformular label {
        display: block;
        margin-bottom: 5px;
        background-color: #FAF0E1;
        margin-right: 20px;
        font-size: 14px;
        color: #156082;
    }
/* Eingabefeld */
    #kontaktformular input, #kontaktformular textarea {
        width: 95%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #156082;
        border-radius: 5px;
        margin-right: 20px;
        font-size: 14px;
        background-color: white;
    }
/* Absenden-Button mit Hover-Effekt */
        #kontaktformular input[type="submit"] {
            width: 30%;
            background-color: #FAF0E1;
            color: #156082;
            padding: 20px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            border: 1px solid #156082;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            font-size: 14px;
        }

            #kontaktformular input[type="submit"]:hover {
                background-color: #156082;
                color: #FAF0E1;
                padding: 20px;
                border: 1px solid #ccc;
                border-radius: 10px;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                font-size: 14px;
            }
.danke-nachricht {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.fehler-nachricht {
    background-color: #f44336;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}